libxl: remove O_CLOEXEC in xl_cmdimpl.c
authorYongjie Ren <yongjie.ren@intel.com>
Tue, 21 Jun 2011 14:31:34 +0000 (15:31 +0100)
committerYongjie Ren <yongjie.ren@intel.com>
Tue, 21 Jun 2011 14:31:34 +0000 (15:31 +0100)
commitcd703ed54853dcaf51fb61b29f2f55e7c88f1d56
tree8761cd5bfb8bd90cee6ab402ad42ab1d92015009
parent43d588d6ae73cf75f5f7efa3a98bfa243e7e6424
libxl: remove O_CLOEXEC in xl_cmdimpl.c

Some old linux kernels such as 2.6.18 don't define O_CLOEXEC, so
remove O_CLOEXEC in xl_cmdimpl.c and replace with fcntl.

Signed-off-by: Yongjie Ren <yongjie.ren@intel.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c